<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>
            <?php echo ($title); ?>
        </title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="format-detection" content="telephone=no">
        <link rel="stylesheet" href="/task/laybbs/Public/css/x-admin.css" media="all">
        <script src="/task/laybbs/Public/lib/layui/layui.js" charset="utf-8"></script>
        <script src="/task/laybbs/Public/js/x-layui.js" charset="utf-8"></script>
        <script src="/task/laybbs/Public/js/x-admin.js"></script>
    </head>
    <script type="text/javascript">
function closewindow() {

    frames = parent.document.getElementsByTagName('iframe');

    for (i = 0; i < frames.length; i++) {
        if (frames[i].contentWindow == window) {
            id = i;
        }
    }
    parent.element.tabDelete('x-tab', id);
}
</script>
<style type="text/css">
    #info{
        font-size: 30px;
        color: red;
        text-align: center;
    }
</style>
<p id="info">抱歉，你的账户没有使用该功能的权限，请<a href="javascript:void(0);" onclick="closewindow();" class="close">关闭</a>本页面。</p>
</html>